#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ(2.57)
AC_INIT(NemesisRD.comm, 1.9, nemesisrd-1x@googlegroups.com)
AC_PREFIX_DEFAULT(/usr/local/nemesis)

# Añadido despues
# ver http://sourceware.org/autobook/autobook/autobook_283.html#SEC283
AM_INIT_AUTOMAKE 
AC_CONFIG_SRCDIR([../internal.db/comm.sccs.cc])
AC_CONFIG_HEADER([../hdrs/nemesis.comm.config.h])

# Checks for programs.
AC_PROG_CXX
AC_PROG_CC
AC_PROG_RANLIB

# Checks for libraries.

# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h netdb.h netinet/in.h stdlib.h string.h strings.h sys/ioctl.h sys/socket.h sys/time.h unistd.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_C_CONST
AC_HEADER_TIME

# Checks for library functions.
AC_FUNC_VPRINTF
AC_CHECK_FUNCS([bzero gethostbyname gethostname inet_ntoa select socket])

AC_CONFIG_FILES([Makefile])
AC_OUTPUT
